package com.richinfo.buddy.web.activity.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.richinfo.buddy.api.account.dubbo.provider.UserProvider;
import com.richinfo.buddy.api.account.model.entity.MyUserEntity;
import com.richinfo.buddy.api.account.model.entity.User;

/**
* Created by WangXJ
* 2019-05-20 17:26
*/
@RestController
public class TestController {

	@Reference
	private UserProvider userProvider;
	
	@GetMapping("/dubboTest")
	public User dubboTest() {
		
		return userProvider.findById("1");
	}
	// 这是id
	private String id;
	
	/**
	 * 这是id
	 */
	private String ids;
	
	/** 这是id **/
	private String pp;
}
